package application.addPatientInfo;

import java.net.URL;
import java.util.ResourceBundle;

import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.ComboBox;
import javafx.scene.control.TextField;
import utils.EventUtils;

public class MyVBoxEvent implements Initializable{
	@FXML
	private ComboBox<String> comboBox;
	@FXML
	private TextField mgTextField;

	@Override
	public void initialize(URL location, ResourceBundle resources) {
		comboBox.setItems(EventUtils.frequencies);
		comboBox.getSelectionModel().select(0);
		// TODO Auto-generated method stub
		
	}
	
	@FXML
	private void chooseAll(){
		mgTextField.selectAll();
	}

}
